package cn.wl.crm.domain;

import cn.wl.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class RepairOrder extends BaseDomain {
    private String custormer;
    private String carNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//前端传过来的日期转换
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//后端查询出来传回前端的日期转换
    private Date createTime = new Date();
    private boolean status;
    private String address;
    private Long opt_id;
    private String name;
    private List<RepairOrderItem> RepairOrderItems;
}
